PICK OBJECT
This command will return the Object Number of the closest object at the specified screen coordinates. The objects that are tested against the 2D coordinate are only those within the Object Start and Object End range in order to speed up specific tests. If no object exists at the coordinate, a value of zero is returned. If an object number is returned, additional data will be generated and stored internally. This extra data can be retrieved using the GET PICK VECTOR and GET PICK DISTANCE commands.
SYNTAX
Return Integer=PICK OBJECT(Screen X, Screen Y, Object Start, Object End)
RELATED INFO
BASIC3D Commands Menu
Index
EXAMPLE
View Showcase Example
View Usage Example